{include file="public/header"/}

<div class="layui-fluid">
    <div class="layui-row">
        <form class="layui-form" action="" method="post">

            <div class="layui-form-item">
                <label class="layui-form-label">
                    <span class="x-red">*</span>分组</label>
                <div class="layui-input-inline">
                    <select name="group_id" class="form-control">
                        {if $user_info.group == 0}
                        <option value="0">未设置分组</option>
                        {/if}
                        {volist name="group_info" id="vo"}
                        {if condition="($user_info.group == $vo.id)"}
                        <option value="{$vo.id}" selected="selected">{$vo.name}</option>
                        {else /}
                        <option value="{$vo.id}">{$vo.name}</option>
                        {/if}
                        {/volist}
                    </select>
                </div>
            </div>

            <div class="layui-form-item" style="margin-left: 25%">
                <input type="hidden" name="uid" value="{$user_info.id}" >
                <button  class="layui-btn" lay-filter="add" lay-submit="">提交</button>
            </div>
        </form>
    </div>
</div>

<script>
    layui.use(['form', 'layer'],
    );
</script>



